Skip to content

Refactor SynchronizedDictionary to return lists for Keys/Values#39

Open
mvdhorstclb wants to merge 1 commit intoamibar:mainfrom
mvdhorstclb:mvdhorstclb-patch-1
Open

Refactor SynchronizedDictionary to return lists for Keys/Values#39
mvdhorstclb wants to merge 1 commit intoamibar:mainfrom
mvdhorstclb:mvdhorstclb-patch-1

Conversation

@mvdhorstclb
Copy link

Updated the Keys and Values properties in SynchronizedDictionary to return List and List respectively, instead of KeyCollection and ValueCollection. This was achieved using the ToList() method. This resolves a possible InvalidOperationException.

Updated the Keys and Values properties in SynchronizedDictionary to return List<TKey> and List<TValue> respectively, instead of
KeyCollection and ValueCollection. This was achieved using the ToList() method.
This resolves a possible InvalidOperationException.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant